Maeiee's Dart Adventures:Exploring the World of Dart SDK
This blog series explores the Dart SDK internals, guiding readers through its compiler framework and more.
This series, seen through Maeiee's eyes, provides practical tips and insights for both new and experienced developers. Join us to unlock Dart's potential and enhance your coding skills!
01 Warm-up: How to turn a string into an abstract syntax tree
You may have heard of abstract syntax trees, even if you've never used one. Abstract syntax trees are fundamental components of programming languages and compilers.
- 1.1 Scanner:from String to Tokens(中文版)
- 1.2 Parser:Bridging Tokens and Syntax with Listeners(中文版)
- 1.3 Fasta:The Abstract Syntax Tree Constructor of Dart SDK(中文版)
- 1.4 Visualizing Dart's Abstract Syntax Tree:An Exploration with AST Viewer(中文版)
- 1.5 getAST——Syntax Tree, Generate!(中文版)
- 1.6 How is the AST Gradually Constructed?(中文版)
02 Component: the Compiler's View of a Dart Project
A Dart project typically consists of multiple Dart files, each acting as a syntax tree. The inter-referential relationships between these files are intricate and complex. How does the Dart compiler manage these multiple files within a project?
Ext1
Draft
本文作者:Maeiee
本文链接:Maeiee's Dart Adventures:Exploring the World of Dart SDK
版权声明:如无特别声明,本文即为原创文章,版权归 Maeiee 所有,未经允许不得转载!
喜欢我文章的朋友请随缘打赏,鼓励我创作更多更好的作品!